package com.zhentao.day05;

public class Animal {
  public static void run(){
    System.out.println("Animal ... run() .... ");
  }
  public void eat(){
    System.out.println("Animal ... eat ... ");
  }
}

// 子类实现继承父类后, 扩展自己的功能
class CangShu extends  Animal{

  public void play(){}

  public void eat(){
    System.out.println("CangShu eat");
  }

  public void jump(){
    System.out.println("CangShu ... jump ....");
  }

}
